#!/bin/bash
data=`ps aux | grep "payment.server" | grep -v grep`
pid=`ps aux | grep "payment.server" | grep -v grep |awk -F ' ' ' {printf $2 }'`

echo "start_server: data" $data
echo "start_server: pid:" $pid

export local=/data/app/payment
export PAYMENT_CONFIG=/data/app/payment

chmod 777 /data/app/payment/scripts/restart.sh
nohup /data/app/payment/scripts/restart.sh > run.log 2>&1 &
exit 0